package sk.tuke.domain;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InsuranceType", propOrder = { "number", "name", "contactPerson", "email", "phone", "street", "streetNum", "city", "zip", "state" })
@XmlRootElement(name = "Insurance")
public class Insurance {

	@XmlElement(required = true)
	private Integer number;
	@XmlElement(required = true)
	private String name;
	@XmlElement(required = false)
	private String state;
	@XmlElement(required = false)
	private String city;
	@XmlElement(required = false)
	private String street;
	@XmlElement(required = false)
	private Integer streetNum;
	@XmlElement(required = false)
	private Integer zip;
	@XmlElement(required = false)
	private String contactPerson;
	@XmlElement(required = true)
	private String email;
	@XmlElement(required = false)
	private String phone;

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public Integer getStreetNum() {
		return streetNum;
	}

	public void setStreetNum(Integer streetNum) {
		this.streetNum = streetNum;
	}

	public Integer getZip() {
		return zip;
	}

	public void setZip(Integer zip) {
		this.zip = zip;
	}

	public String getContactPerson() {
		return contactPerson;
	}

	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
